package com.ff.xyh.access.controller.dictionary;

import com.ff.xyh.access.service.dictionary.DictionaryService;
import com.ff.xyh.access.service.post.PostDeleteFeignService;
import com.ff.xyh.common.entity.post.PostDelete;
import com.ff.xyh.common.entity.result.ResultObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Auther FF
 * @Date 2023年 05月 25日
 * @Time 18:59
 */


@Api(tags = "所有字典数据接口")
@RestController
@RequestMapping("/access/dictionary")
public class DictionaryController {

    @Autowired
    private DictionaryService service;

    @GetMapping("get/all/check-status")
    ResultObject getAllCheckStatus() {
        return service.getAllCheckStatus();
    }
    @GetMapping("get/all/complaint-status")
    ResultObject getAllComplaintStatus() {
        return service.getAllComplaintStatus();
    }
    @GetMapping("get/all/joiner-status")
    ResultObject getAllJoinerStatus() {
        return service.getAllJoinerStatus();
    }
    @GetMapping("get/all/platform-domain")
    ResultObject getAllPlatformDomain() {
        return service.getAllPlatformDomain();
    }
    @GetMapping("get/all/post-status")
    ResultObject getAllPostStatus() {
        return service.getAllPostStatus();
    }
    @GetMapping("get/all/restricted-status")
    ResultObject getAllRestrictedStatus() {
        return service.getAllRestrictedStatus();
    }
    @GetMapping("get/all/complaint-type")
    ResultObject getAllComplaintType() {
        return service.getAllComplaintType();
    }
    @GetMapping("get/all/type")
    ResultObject getAllType() {
        return service.getAllType();
    }



}
